package com.moguhoutai.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.moguhoutai.model.Area;
@MapperScan
public interface AreaMapper {
    int deleteByPrimaryKey(Integer areaId);

    Area findById(Integer areaId);

    int updateByPrimaryKeySelective(Area area);

    int updateByPrimaryKey(Area area);
    
    int insert(Area area);
    
    List<Area> findBycity(Integer cityId);
}